package com.example.androidproject;

import java.io.Serializable;

public class Book implements Serializable {
    private int id;
    private String title;
    private String author;
    private String category;
    private String publishDate;
    private String status;
    private int coverResId;
    private String description;
    private String isbn;
    private String publisher;
    private int pageCount;
    private String backgroundStory;
    private String content;
    
    public Book(int id, String title, String author, String category, 
               String publishDate, String status, int coverResId,
               String description, String isbn, String publisher, int pageCount, 
               String backgroundStory, String content) {
        this.id = id;
        this.title = title;
        this.author = author;
        this.category = category;
        this.publishDate = publishDate;
        this.status = status;
        this.coverResId = coverResId;
        this.description = description;
        this.isbn = isbn;
        this.publisher = publisher;
        this.pageCount = pageCount;
        this.backgroundStory = backgroundStory;
        this.content = content;
    }
    
    // Getters
    public int getId() { return id; }
    public String getTitle() { return title; }
    public String getAuthor() { return author; }
    public String getCategory() { return category; }
    public String getPublishDate() { return publishDate; }
    public String getStatus() { return status; }
    public int getCoverResId() { return coverResId; }
    public String getDescription() { return description; }
    public String getIsbn() { return isbn; }
    public String getPublisher() { return publisher; }
    public int getPageCount() { return pageCount; }
    public String getBackgroundStory() { return backgroundStory; }
    public String getContent() { return content; }
    
    public void setStatus(String status) { this.status = status; }
}